package cn.t.enums.order;

import cn.t.core.enums.base.CommonEnum;
import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum WorkLineStatusEnum implements CommonEnum<Integer, String> {
//状态（1.待操作、2.已完成、3.部分完成）
    WAIT_OPERATE(1, "待操作"),
    COMPLETED(2, "已完成"),
    PART_COMPLETED(3, "部分完成");

    @JsonValue
    @EnumValue
    final Integer code;
    final String name;
}
